package org.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {
    @RequestMapping(value = "/bootdemo", method = RequestMethod.GET, produces = "application/json")
    public String test() {
        return "hello world from Spring Boot controller";
    }
}
